/*
 * @ProjectName: 编程学习
 * @Copyright:   2019 HangZhou Yi Dev, Ltd. All Right Reserved.
 * @address:     https://yiyuery.github.io/
 * @date:        2019/5/20 20:57
 * @email:       xiazhaoyang@live.com
 * @description: 本内容仅限于编程技术学习使用，转发请注明出处.
 */
package com.example.component.gallery.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>
 *
 * </p>
 *
 * @author Yi
 * @version v1.0.0
 * @date 2019-07-24 23:24
 * @modificationHistory=========================逻辑或功能性重大变更记录
 * @modify By: {修改人} 2019-07-24
 * @modify reason: {方法名}:{原因}
 * ...
 */
@AllArgsConstructor
@Getter
public enum ImageCompressionLevel {
    /**
     * 图片压缩级别定义
     */
    IMAGE_COMPRESSION_LEVEL_ORIGINAL(0,"",0,0),
    IMAGE_COMPRESSION_LEVEL_1200_800(1,"1200x800",1200,800);

    /**
     * 压缩级别
     */
    private Integer level;

    /**
     * 压缩尺寸
     */
    private String dimension;

    /**
     * 宽度
     */
    private Integer width;

    /**
     * 高度
     */
    private Integer height;
}
